package com.meter.config.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.meter.config.domain.ConfigAlarm;

/**
 * 告警配置Mapper接口
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
@Mapper
public interface ConfigAlarmMapper extends BaseMapper<ConfigAlarm>
{
    /**
     * 查询告警配置
     * 
     * @param alarmId 告警配置主键
     * @return 告警配置
     */
    public ConfigAlarm selectConfigAlarmByAlarmId(Long alarmId);

    /**
     * 查询告警配置列表
     * 
     * @param configAlarm 告警配置
     * @return 告警配置集合
     */
    public List<ConfigAlarm> selectConfigAlarmList(ConfigAlarm configAlarm);
}
